<?php 
class scrollclass{
	public $id;
	public $name;
	public $posx;
	public $posy;
	public $mode;
	public $server;
	public $dvr;
	public $ip;
	public $port;
	public $userid;
	public $pw;
	
	function newwscroll($id,$name,$posx,$posy,$mode,$server,$dvr,$ip,$port,$userid,$pw){
		$this->id=$id;
		$this->name=$name;
		$this->posx=$posx;
		$this->posy=$posy;
		$this->mode='';
		if($mode==1){
			$this->mode='come';
		}else if($mode==0){
			$this->mode='go';
		}
		$this->server=$server;
		$this->dvr=$dvr;
		$this->ip=$ip;
		$this->port=$port;
		$this->userid=$userid;
		$this->pw=$pw;
	}
	
	
}
?>